#ifndef __TIM2_H
#define __TIM2_H

#include "stm32f10x.h"

extern uint32_t counter;

void tim2_init(void);
void PWM_SetCompare1(uint16_t Compare);
void PWM_SetCompare2(uint16_t Compare);
void Servo1_Set(void);
void Servo1_Reset(void);

#endif
